TAGs: arithmetic sequence calculator